@PACKAGE_INIT@

if(NOT @PROJECT_NAME@_FOUND)
  set(@PROJECT_NAME@_@COMPONENT@_FOUND FALSE)
  return()
endif()

# At the moment, components only support targets
#set("@PROJECT_NAME@_@COMPONENT@_INCLUDE_DIRS" "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
#set("@PROJECT_NAME@_@COMPONENT@_LIBRARIES" ${_PACKAGE_CONFIG_LIBRARIES})
set(@PROJECT_NAME@_@COMPONENT@_DEPENDENCIES "@_PACKAGE_CONFIG_COMPONENT_DEPENDENCIES_PROJECTS@")

include(CMakeFindDependencyMacro)
if(${CMAKE_VERSION} VERSION_LESS "3.15.0")
  @COMPONENT_FIND_PACKAGE@
else()
  @COMPONENT_FIND_DEPENDENCY@
endif()

include("${CMAKE_CURRENT_LIST_DIR}/@COMPONENT@Targets.cmake")
set(@PROJECT_NAME@_@COMPONENT@_FOUND TRUE)

@COMPONENT_EXTRA_MACRO@
